package com.googlecode.lyang.cxfstudy.helloworld;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringClient {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
        HelloWorld helloworld = (HelloWorld)context.getBean("helloworldClient");
        System.out.println(helloworld.sayHi("kongxx"));
    }
}

